<ion-view view-title="人证比对认证">
  <ion-nav-bar class="item-customer-bg-darkred" align-title="center">
    <ion-nav-back-button class="button-clear">
      <i class="ion-arrow-left-c font_arrow"></i>
    </ion-nav-back-button>
  </ion-nav-bar>
  <ion-content class="padding content-bg-cust">
    <form  name="rzbdForm" novalidate>
      <div class="list list-inset">
        <div class="item item-input"  ng-click="scanQrCode()"  >
          <div class="font_info2 col-90">扫描BSS业务二维码</div>
          <!-- button class="button " style="display:block" ng-click="scanQrCode()"></button -->
          <div class="col col-10"><img src="img/icon_qrcode_16.png" height="20" width="20"/>{{rzbdItemId}}</div>
        </div>
        <!--
        <div class="item item-divider"></div>
        <div class="item item-input">
          <div class="font_info2 col col-25">扫描身份证</div>
          <div class="col col-50"><input class="ywkh_input" type="text" ng-model="params.IdCard.name" readonly/></div>
          <div class="col col-25" style="text-align: right"><button class="button bt_idcard" ng-click="readIdCard()">读取身份证</button></div>
        </div>
        <div class="item item-input">
          <div class="row">
            <div class="col col-25" style="vertical-align: middle" ><img id="imgIdPic" width="100%" ng-click="alertAvatar()" src="img/lf.jpg" /> </div>
            <div class="col">
              <label class="item item-input">
                <input id="txtIdCardNo" class="ywkh_input" type="text" ng-model="params.idCardInfo.cardNo" placeholder="身份证号码" readonly/>
              </label>
              <label class="item item-input">
                <input id="txtIdName" class="ywkh_input" type="text" ng-model="params.idCardInfo.name" placeholder="姓名" readonly/>
              </label>
            </div>
          </div>
        </div>
        -->
        <div class="item item-divider"></div>
        <div class="item" align="center" >
          <p>身份证正面</p>
          <div ng-click="takeIdCardPhoto('0')" style="height: 200px;border:1px solid #F0F0F0;background-repeat: no-repeat;background-image: url('img/icon_camera_small.png');background-position: center">
            <img id="imgId0" src="" style="width:auto;height:200px"/>
          </div>
        </div>
        <div class="item" align="center">
          <p>身份证反面</p>
          <div ng-click="takeIdCardPhoto('1')" style="height: 200px;border:1px solid #F0F0F0;background-repeat: no-repeat;background-image: url('img/icon_camera_small.png');background-position: center">
            <img id="imgId1" src="" style="width:auto;height:200px"/>
          </div>
        </div>
        <div class="item" align="center">
          <p>手持身份证</p>
          <div ng-click="takeIdCardPhoto('2')"  style="height: 200px;border:1px solid #F0F0F0;background-repeat: no-repeat;background-image: url('img/icon_camera_small.png');background-position: center">
            <img id="imgId2" src="" style="width:auto;height:200px"/>
          </div>
        </div>
      </div>
      <div class="col">
        <a class="button button-full wkh_button_dark" ng-disabled="!isSubmitReady" ng-click="submitInfo()">提交</a>
      </div>
      <div class="col">
        <a class="button button-full wkh_button_light" ng-click="resetPage()">重置</a>
      </div>
    </form>
  </ion-content>
</ion-view>
